package com.lxmes.business.service;

import java.util.List;
import com.lxmes.business.domain.ZcOrderCostAccounting;

/**
 * 订单成本核算Service接口
 * 
 * @author lx
 * @date 2023-06-21
 */
public interface IZcOrderCostAccountingService 
{
    /**
     * 查询订单成本核算
     * 
     * @param id 订单成本核算主键
     * @return 订单成本核算
     */
    public ZcOrderCostAccounting selectZcOrderCostAccountingById(Long id);

    /**
     * 查询订单成本核算列表
     * 
     * @param zcOrderCostAccounting 订单成本核算
     * @return 订单成本核算集合
     */
    public List<ZcOrderCostAccounting> selectZcOrderCostAccountingList(ZcOrderCostAccounting zcOrderCostAccounting);

    /**
     * 新增订单成本核算
     * 
     * @param zcOrderCostAccounting 订单成本核算
     * @return 结果
     */
    public int insertZcOrderCostAccounting(ZcOrderCostAccounting zcOrderCostAccounting);

    /**
     * 修改订单成本核算
     * 
     * @param zcOrderCostAccounting 订单成本核算
     * @return 结果
     */
    public int updateZcOrderCostAccounting(ZcOrderCostAccounting zcOrderCostAccounting);

    /**
     * 批量删除订单成本核算
     * 
     * @param ids 需要删除的订单成本核算主键集合
     * @return 结果
     */
    public int deleteZcOrderCostAccountingByIds(Long[] ids);

    /**
     * 删除订单成本核算信息
     * 
     * @param id 订单成本核算主键
     * @return 结果
     */
    public int deleteZcOrderCostAccountingById(Long id);
    /**
     * 导入订单成本核算信息
     *
     * @return 结果
     */
    String imporIteminfo(List<ZcOrderCostAccounting> zcOrderCostAccountingList, boolean updateSupport, String operName);
}
